package org.bonorsoft.modules.education.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.bonorsoft.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 学生信息管理
 * @Author: WilliamYe
 * @Date:   2020-12-08
 * @Version: V1.0
 */
@Data
@TableName("EDU_STUDENT")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Student {

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
	private java.lang.String id;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
	private java.lang.String name;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "edu_sex")
	@Dict(dicCode = "edu_sex")
	private java.lang.String sex;
	/**民族*/
	@Excel(name = "民族", width = 15)
	private java.lang.String national;
	/**出生日期*/
	@Excel(name = "出生日期", width = 15)
	private java.lang.String birthday;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
	private java.lang.String idNumber;
	/**户口所在地*/
	@Excel(name = "户口所在地", width = 15)
	private java.lang.String residenceLocation;
	/**家庭住址*/
	@Excel(name = "家庭住址", width = 15)
	private java.lang.String familyLocation;
	/**学号*/
	@Excel(name = "学号", width = 15)
	private java.lang.String studentNumber;
	/**年级*/
	@Excel(name = "年级", width = 15)
	private java.lang.String grade;
	/**班级*/
	@Excel(name = "班级", width = 15)
	private java.lang.String studentClass;
	/**入学时间*/
	@Excel(name = "入学时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private java.util.Date inSchoolTime;
	/**政治面貌*/
	@Excel(name = "政治面貌", width = 15)
	private java.lang.String politicsStatus;
	/**是否住宿*/
	@Excel(name = "是否住宿", width = 15, dicCode = "sys_yes_no")
	@Dict(dicCode = "sys_yes_no")
	private java.lang.String isAccommodation;
	/**是否借读*/
	@Excel(name = "是否借读", width = 15, dicCode = "sys_yes_no")
	@Dict(dicCode = "sys_yes_no")
	private java.lang.String isCoop;
	/**父亲姓名*/
	@Excel(name = "父亲姓名", width = 15)
	private java.lang.String fatherName;
	/**父亲联系方式*/
	@Excel(name = "父亲联系方式", width = 15)
	private java.lang.String fatherPhone;
	/**母亲姓名*/
	@Excel(name = "母亲姓名", width = 15)
	private java.lang.String matherName;
	/**母亲联系方式*/
	@Excel(name = "母亲联系方式", width = 15)
	private java.lang.String matherPhone;
	/**照片*/
	@Excel(name = "照片", width = 15, type = 2)
	private java.lang.String photo;
	/**创建人*/
	private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private java.util.Date createTime;
	/**更新人*/
	private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private java.util.Date updateTime;
}
